"use strict";
const utils_requestBase = require("../utils/requestBase.js");
function getWxOpenId(data) {
  return utils_requestBase.request.get({
    url: "/wx-login/getWxOpenId",
    data
  });
}
function userLogin(data) {
  return utils_requestBase.request.get({
    url: "/wx-login/wxLogin",
    data
  });
}
function crowdRegister(data) {
  return utils_requestBase.request.post({
    url: "/wx-login/crowdRegister",
    data
  });
}
function getToken(data) {
  return utils_requestBase.request.get({
    url: "/refreshTk",
    data
  });
}
exports.crowdRegister = crowdRegister;
exports.getToken = getToken;
exports.getWxOpenId = getWxOpenId;
exports.userLogin = userLogin;
